DX11 GET CAMERA VIEWPORT WIDTH

Retrieves the width of the specified camera's viewport.
By default this will be the width of the camera's render target image (or the backbuffer in the case of the main camera), however you can change this to only
have the camera render to a part of its target / the backbuffer using DX11 SET CAMERA VIEWPORT.

  Syntax
Return Float = DX11 GET CAMERA VIEWPORT WIDTH([camera])
  Parameters
[Optional] camera
Dword
The camera to get the viewport width of. Will use the main camera if omitted.

  Returns

The width of the specified camera's viewport in pixels.

  See also

CAMERA Functions Menu
DX11 Function Categories